package com.cyt.${moduleName?replace('/', '.')}.dao;

import com.cyt.base.mapper.BaseDao;
import com.cyt.${moduleName?replace('/', '.')}.domain.dto.${entityName}Dto;
import com.cyt.${moduleName?replace('/', '.')}.domain.po.${entityName};
import com.cyt.${moduleName?replace('/', '.')}.domain.vo.${entityName}Vo;
import com.cyt.${moduleName?replace('/', '.')}.domain.vo.excel.${entityName}ExportVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ${description}-dao接口层
 *
 * @author ${authorName}
 * @date ${.now}
 */
@Repository
public interface ${entityName}Dao extends BaseDao<${entityName}> {

    /**
     * 对象查询数据
     *
     * @param ${entityName?uncap_first}Dto 参数传入对象
     * @return ${entityName}Vo
     * @author ${authorName}
     * @date ${.now}
     */
    ${entityName}Vo findVoOne(${entityName}Dto ${entityName?uncap_first}Dto);

    /**
     * List查询数据
     *
     * @param ${entityName?uncap_first}Dto 参数传入对象
     * @return List<${entityName}Vo>
     * @author ${authorName}
     * @date ${.now}
     */
    List<${entityName}Vo> findVoList(${entityName}Dto ${entityName?uncap_first}Dto);

    /**
     * List查询导出数据
     *
     * @param ${entityName?uncap_first}Dto 参数传入对象
     * @return List<${entityName}ExportVo>
     * @author ${authorName}
     * @date ${.now}
     */
    List<${entityName}ExportVo> findForExcel(${entityName}Dto ${entityName?uncap_first}Dto);
}
